<div class="ibox">
	<div class="ibox-content">
		<div id="dataTable">
			<table class="table  table-bordered">
				<thead>
					<tr>
						<th>${_res["payment.plugin.name"]}</th>
						<th>${_res["system.status"]}</th>
						<th>${_res["payment.plugin.install.status"]}</th>
						<th>${_res["payment.plugin.orders"]}</th>
						<th>${_res["system.operator"]}</th>
					</tr>
				</thead>
				<tbody>
					<%for (paymentPlugin in paymentPluginList!){%>
					<tr class="gradeA">
						<td>${paymentPlugin.name!}</td>
						<td><#dict type="lable" value="${paymentPlugin.isEnabled!}"
							dictCode="COMMON_STATUS" /></td>
						<td><#dict type="lable" value="${paymentPlugin.isInstalled!}"
							dictCode="COMMON_YN" /></td>
						<td>${paymentPlugin.order!}</td>
						<td>
						<%if (!paymentPlugin.isInstalled){%> 
							<% if(hasPrivilegeUrl("paymentplugin_install")){ %>
							<button type="button" class="btn btn-sm btn-link"
								onClick="ajaxContent('/admin/paymentplugin/install/${paymentPlugin.id!}')">${_res["payment.plugin.install"]}</button>
							<% } %> 
						<%}else{%> 
							<% if(hasPrivilegeUrl("paymentplugin_edit")){ %>
								<button type="button" class="btn btn-sm btn-link" onClick="ajaxContent('/admin/paymentplugin/edit/${paymentPlugin.id!}')">${_res["payment.plugin.setting"]}</button>
							<% } %> 
							<% if(hasPrivilegeUrl("paymentplugin_unInstall")){ %>
								<button type="button" class="btn btn-sm btn-link" onClick="ajaxContent('/admin/paymentplugin/unInstall/${paymentPlugin.id!}')">${_res["payment.plugin.uninstall"]}</button>
							<% } %> 
						<%}%>
						</td>
					</tr>
					<%}%>
				</tbody>
			</table>
		</div>
	</div>
</div>